<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{$_G['WebTitle']}</title>
    <meta name="keywords" content="{$_G['companyname']},{$_G['companyname_short']}微营销,微团,微客,微分销,我要代言,拼多多,{$_G['companyname_short']}投票,青岛{$_G['companyname_short']}" />
    <meta name="description" content="{$_G['companyname_short']}·微信营销专家" />
    <link rel="shortcut icon" href="/favicon.ico" />
    <link href="{$_G['URL']['LAYER_CSS']}/layui.css?v=1" rel="stylesheet">
    <script src="{$_G['URL']['LAYER_CSS']}/layui.js"></script>
    <link rel="stylesheet" href="{$_G['URL']['LAYER_CSS']}/layui-font.css">
    <link href="{$_G['URL']['CSS_PATH']}/resource/css/bootstrap.min.css" rel="stylesheet">
    <script type="text/javascript" src="{$_G['URL']['CSS_PATH']}/resource/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="{$_G['URL']['CSS_PATH']}/resource/js/bootstrap.min.js"></script>
<!--    <script type="text/javascript" src="{$_G['URL']['CSS_PATH']}/resource/js/util.js"></script>-->
    <script type="text/javascript" src="{$_G['URL']['CSS_PATH']}/resource/js/md5.js?v=2"></script>
    <link href="{$_G['URL']['CSS_PATH']}/resource/css/font-awesome.min.css" rel="stylesheet">


    <link rel="stylesheet" type="text/css" href="{$_G['URL']['CSS_PATH']}/resource/components/yxuploader/yxupload.css?v=68">
    <link rel="stylesheet" type="text/css" href="{$_G['URL']['CSS_PATH']}/resource/components/webuploader/webuploader.css?v=166">
    <script type="text/javascript" src="{$_G['URL']['CSS_PATH']}/resource/components/webuploader/webuploader.min.js?v=126"></script>
    <script type="text/javascript" src="{$_G['URL']['CSS_PATH']}/resource/components/yxuploader/uploadImg.js?v=187"></script>

    <script>
        var m = "{$_P['m']}"
        var themeid = "{$_P['themeid']}"
    </script>
    <script type="text/javascript" src="{$_G['URL']['CSS_PATH']}/resource/components/yxuploader/yxuploader.js?v=719"></script>
    <script src="/resource/js/clipboard.min.js?v=8"></script>

    <script>
        $(document).on('keydown', function(e) {
            if (e.altKey && e.which === 70) {
                e.preventDefault();
                $('input[name="keyword"]').focus();
            }
        });
    </script>


    <link href="{$_G['URL']['CSS_PATH']}/resource/css/base.css?v=12" rel="stylesheet">


    <style>
        .right-content  {
            min-height: calc(100vh - 50px) !important;
        }
        .content  {
            min-height: calc(100vh - 180px) !important;
        }
    </style>
</head>

<?php
	$return_tips = cookie($_G['username'] . 'return_tips');
	$return_tips_msg = $return_tips['msg'];
	$return_tips_type = $return_tips['type'];
	if(!empty($return_tips)){
		$is_return_tips = true;
	}else{
		$is_return_tips = false;
	}
	cookie($_G['username'].'return_tips',null);
?>
<style>
    body .lay-msg-white{
        background-color: #FFFFFF !important;
        text-align: center !important;
    }
    body .lay-msg-green{
        background-color: #29700a !important;
        color: #FFFFFF !important; /* 添加这一行将文字颜色设置为白色 */
        text-align: center !important;
    }
</style>

<script>
    var is_return_tips = "{$is_return_tips}";
    var return_tips_msg = "{$return_tips_msg}";
    var return_tips_type = "{$return_tips_type}";


    console.log(is_return_tips,return_tips_msg,return_tips_type);
    if(is_return_tips=='1'){
        if(return_tips_type=='success'){
            layer.msg(return_tips_msg, {skin:'lay-msg-green'});
        }else if(return_tips_type=='info'){
            layer.confirm(return_tips_msg,{title:'提示', btn: ['已知晓']});
        }else{
            layer.msg(return_tips_msg);
        }
    }
</script>